package com.jianyun.jyzs.model.imdoel;

import com.jianyun.jyzs.bean.OaAppBean;
import com.jianyun.jyzs.bean.OaCustomBean;
import com.jianyun.jyzs.bean.TopBrodCastBean;

import java.util.List;

/**
 * Created by yangshijun on 2018/9/4.
 * 应用界面图标以及请求
 */

public interface IOaCustomModel {

    void getOaCustomImg(String userId,String enterpriseCode,String appVersion,OnOaImgListener onOaImgListener);

    void getTopcaset(String Url,OnGetTopCastListener onGetTopCastListener);

    interface OnOaImgListener{
        void onSuccess(OaCustomBean oaCustomBean);
        void onSuccess2(List<OaAppBean> oaBeanList);
        void onFailed();
    }

    interface OnGetTopCastListener{
        void onGetTopImgSuccess(TopBrodCastBean topBrodCastBean);
        void onFailed();
    }
}
